package headfirst.combined.djview;

import static org.junit.Assert.*;

import org.junit.Test;

public class HeartModelTest2 {

	@Test
	public void testGetinstances() {
			
			HeartModel ins = HeartModel.getInstance();
			
			HeartModel.getInstance();
			
			if(ins.getHeartRate()==2){
				System.out.println("Funciona");
			}else{System.out.println(ins.getHeartRate());
				fail("No corresponde!!!");}
			
	}

}
